package com.lyb.system.dto;


import com.lyb.system.domain.Employee;
import com.lyb.system.domain.Tenant;

// 组合类、用来接收前台传的数据，要存入3张表中
public class EnteringDTO {

    // 机构
    private Tenant tenant;

    // 管理员
    private Employee employee;

    // 套餐的id
    private Long mealId;

    @Override
    public String toString() {
        return "EnteringDTO{" +
                "tenant=" + tenant +
                ", employee=" + employee +
                ", mealId=" + mealId +
                '}';
    }

    public Tenant getTenant() {
        return this.tenant;
    }

    public void setTenant(final Tenant tenant) {
        this.tenant = tenant;
    }


    public Employee getEmployee() {
        return this.employee;
    }

    public void setEmployee(final Employee employee) {
        this.employee = employee;
    }

    public Long getMealId() {
        return this.mealId;
    }

    public void setMealId(final Long mealId) {
        this.mealId = mealId;
    }
}
